package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.activity.ActivityDTO;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {
    PageResult<Activity> page(ActivityDTO activityDTO);

    void delete(Integer id);

    void add(Activity activity);

    Activity selectById();

    void update(Activity activity);

    List<Activity> listByType(String type);
}
